<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <a th:href="@{/inquire/addSkip}">添加</a>
    <form th:action="@{/inquire/getListInguire}" method="post">
        姓名:<input type="text" name="studentName" th:value="${studentName}">
        公司:<input type="text" name="companyName" th:value="${companyName}">
        最小薪资:<input type="text" name="miaPay" th:value="${miaPay}">
        最大薪资:<input type="text" name="maxPay" th:value="${maxPay}">
        <input type="submit" value="提交">
    </form>
    <table border="1px">
        <tr>
            <td>编号</td>
            <td>姓名</td>
            <td>工资</td>
            <td>公司</td>
            <td>福利</td>
            <td>时间</td>
            <td>岗位</td>
            <td>操作</td>
        </tr>
        <tr th:each="inquire:${getInquire.getList()}">
            <td th:text="${inquire.jobinfoId}">编号</td>
            <td th:text="${inquire.studentName}">姓名</td>
            <td th:text="${inquire.jobinfoPay}">工资</td>
            <td th:text="${inquire.companyName}">公司</td>
            <td th:text="${inquire.companyIntroduce}">福利</td>
            <td th:text="${inquire.jobinfoEntrytime}">时间</td>
            <td th:text="${inquire.jobinfoPost}">岗位</td>
            <td>
                <a th:href="@{/inquire/upSkip(JobinfoId = ${inquire.jobinfoId})}">修改</a>
                <a th:href="@{/inquire/delJobinfo(jobinfoId = ${inquire.jobinfoId})}">删除</a>
            </td>
        </tr>
    </table>


    <ul>
        <li>
            <a th:href="@{/inquire/getListInguire(currentPage = ${getInquire.prePage} ,studentName = ${studentName},companyName = ${companyName},miaPay = ${miaPay},maxPay = ${maxPay})}">上一页</a>
        </li>
        <li th:each="a,num:${getInquire.getNavigatepageNums()}">
            <a th:href="@{/inquire/getListInguire(currentPage = ${a},studentName = ${studentName},companyName = ${companyName},miaPay = ${miaPay},maxPay = ${maxPay})}"  th:text="${a}">ee</a>
        </li>
        <li>
            <a th:href="@{/inquire/getListInguire(currentPage = ${getInquire.nextPage},studentName = ${studentName},companyName = ${companyName},miaPay = ${miaPay},maxPay = ${maxPay})}">下一页</a>
        </li>
    </ul>
</body>
</html>